<template>
</template>

<script setup>
/* import { ref } from 'vue'

import { useIpcRenderer } from "@vueuse/electron";
import { ElMessage } from 'element-plus';
const ipcRenderer = useIpcRenderer(); */
import { Snackbar } from 'sober'
// 获取html元素
document.getElementsByTagName("html")[0].style.background = "rgba(0, 0, 0, 0)"
const msg = new BroadcastChannel('on_msg');
msg.onmessage = (e) => {
    //ElMessage(e.data);
    Snackbar.show(e.data)
}
</script>


<style>
body::-webkit-scrollbar {
    display: none;
    /* Chrome Safari */
}

.body {
    scrollbar-width: none;
    /* firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    overflow-x: hidden;
    overflow-y: auto;
}

:root {
    --s-color-inverse-surface: #e5e1e6;

    --s-color-inverse-on-surface: #000000;
}

s-snackbar{
    z-index: 9999;
}
</style>